package com.group.transaction.mapper;

import com.group.transaction.domain.Dept;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DeptMapper extends Mapper<Dept> {
    /**
     * 查询部门
     * @param dept
     * @return
     */
    List<Dept> queryDeptData(Dept dept);

    /**
     * 查询部门总数
     * @param dept
     * @return
     */
    Integer queryDeptDataTotal(Dept dept);
}